package com.itcast.applet.dto;

import com.itcast.applet.entity.Dity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDTO implements Serializable {

    @ApiModelProperty("订单商品集合")
    private List<Dity> goodsList;

    @ApiModelProperty("地址id")
    private Long addressId;

}
